Skip to content

Conversation

timfish
Copy link
Collaborator

@timfish timfish commented Sep 6, 2024

Closes #13605

I modified the long running rate-limiter tests to use fake timers too. This brought the test time down from 24 seconds to 4 seconds.

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious if the Node 14 tests pass here. I had to close my previous atttempt (#13458) to do the same for the core package because Vitest doesn't support Node 14. Actually not even Node 16 officially but that seemed to work at least.

@timfish
Copy link
Collaborator Author

timfish commented Sep 6, 2024

Although now I see this comment.

So we can't migrate to vitest because of Node v14?

@Lms24
Copy link
Member

Lms24 commented Sep 6, 2024

I'm afraid we're blocked on that yeah :(

@timfish
Copy link
Collaborator Author

timfish commented Sep 6, 2024

Closing due to Node support 😭

@timfish timfish closed this Sep 6, 2024
@timfish timfish deleted the timfish/test/vitest-node branch February 28, 2025 18:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test(node): Switch from Jest to vitest

2 participants